/**
 * 
 */
package ModelLayer;


import java.io.Serializable;
import java.util.Date;

import ModelLayer.Enums.OrderStatus;

/**
 * @author Frank Eskelund
 * @version
 */
public class SupplierOrder implements Serializable {
	private OrderStatus status;
	private Date dateDelivered;
	private Date estimatedInStock;
	private Date datePlaced;
	private int amount;

	public SupplierOrder(OrderStatus status, Date estimatedInStock, int amount) {
		this.status = status;
		this.estimatedInStock = estimatedInStock;
		this.amount = amount;
		this.setDateDelivered(null);
		this.setDatePlaced(new Date());
	}

	/**
	 * @return the status
	 */
	public OrderStatus getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(OrderStatus status) {
		this.status = status;
	}

	/**
	 * @return the estimatedInStock
	 */
	public Date getEstimatedInStock() {
		return estimatedInStock;
	}

	/**
	 * @param estimatedInStock the estimatedInStock to set
	 */
	public void setEstimatedInStock(Date estimatedInStock) {
		this.estimatedInStock = estimatedInStock;
	}

	/**
	 * @return the amount
	 */
	public int getAmount() {
		return amount;
	}

	/**
	 * @param amount the amount to set
	 */
	public void setAmount(int amount) {
		this.amount = amount;
	}

	public Date getDatePlaced() {
		return datePlaced;
	}

	public void setDatePlaced(Date datePlaced) {
		this.datePlaced = datePlaced;
	}

	public Date getDateDelivered() {
		return dateDelivered;
	}

	public void setDateDelivered(Date dateDelivered) {
		this.dateDelivered = dateDelivered;
	}
	
	
	
}
